// 获取banner
export const getBanner = (that) => {
  return that.$get("/web_question/admin/banner");
};

// 添加banner
export const addBanner = (that, obj) => {
  return that.$post("/web_question/admin/banner/add", obj);
};

// 修改banner
export const updateBanner = (that, obj) => {
  return that.$post("/web_question/admin/banner/update", obj);
};

// 删除单个banner
export const deleteBanner = (that, obj) => {
  return that.$get("/web_question/admin/banner/delete", obj);
};

// 显示展示图片
export const showBanner = (that, obj) => {
  return that.$get("/web_question/admin/banner/show", obj);
};
